<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/commons/pages/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>

</head>
<body>
      <div class="subtitle">
          <h3>城市基础信息</h3>
      </div>
      <s:form action="SysAccessary!list.action" method="post" id="query_form">
      	<input type="hidden" name="selectBean.isAll" value="0" id="sb_isall"/>
      <table width="100%" border="0" cellpadding="5" cellspacing="0" class="subtbl">
      	        	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.id" type="text" class="webinput" size="20" value="<s:property value='selectBean.id'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.title" type="text" class="webinput" size="20" value="<s:property value='selectBean.title'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.ac_sname" type="text" class="webinput" size="20" value="<s:property value='selectBean.ac_sname'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.ac_dname" type="text" class="webinput" size="20" value="<s:property value='selectBean.ac_dname'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.url" type="text" class="webinput" size="20" value="<s:property value='selectBean.url'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.ac_byline" type="text" class="webinput" size="20" value="<s:property value='selectBean.ac_byline'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.ac_comment" type="text" class="webinput" size="20" value="<s:property value='selectBean.ac_comment'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.link_id" type="text" class="webinput" size="20" value="<s:property value='selectBean.link_id'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.link_tab" type="text" class="webinput" size="20" value="<s:property value='selectBean.link_tab'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.ac_others" type="text" class="webinput" size="20" value="<s:property value='selectBean.ac_others'/>"/>
									</td>
          </tr>
		         	  <tr>            <td>${col.columnZhName}：
			<input name="selectBean.ac_type" type="text" class="webinput" size="20" value="<s:property value='selectBean.ac_type'/>"/>
									</td>
          </tr>
		             <tr>
            <td>
              <input name="button2" type="submit" class="websub" id="button2" value="查 询" />
              <input name="button_query_all" type="button" class="websub"  id="button3" value="查询全部" onclick="javascript:queryAll()"/> 
       		</td>
          </tr>
        </table>
        <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
          <tr>
            <td align="right" colspan="6">
              <input name="button2" type="button" class="websub" onclick="location.href='SysAccessary!add.action'" value="添加" />
            </td>
          </tr>
          <tr>
          	<th width="10%">序号</th>
          	          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	          	<th width="10%">${col.columnZhName}</th>
          	          	          	<th width="15%">操作</th>
          </tr>
          <s:iterator value="list" var="cur" status="vs">
          <tr align="center">
            <td><abean:counter write="true" /></td>
                      	          	          	          	<td><s:property value="#cur.TITLE"/></td>
          	          	          	          	<td><s:property value="#cur.AC_SNAME"/></td>
          	          	          	          	<td><s:property value="#cur.AC_DNAME"/></td>
          	          	          	          	<td><s:property value="#cur.URL"/></td>
          	          	          	          	<td><s:property value="#cur.AC_BYLINE"/></td>
          	          	          	          	<td><s:property value="#cur.AC_COMMENT"/></td>
          	          	          	          	<td><s:property value="#cur.LINK_ID"/></td>
          	          	          	          	<td><s:property value="#cur.LINK_TAB"/></td>
          	          	          	          	<td><s:property value="#cur.AC_OTHERS"/></td>
          	          	          	          	<td><s:property value="#cur.AC_TYPE"/></td>
          	          	            <td>
            	<a href="SysAccessary!view.action?id=<s:property value='#cur.ID'/>">查看</a>
            	<a href="SysAccessary!edit.action?id=<s:property value='#cur.ID'/>">修改</a>
            	<a href="javascript:if(confirm('您确定要删除吗？')){location.href='SysAccessary!delete.action?id=<s:property value='#cur.ID'/>';}">删除</a>
			</td>
          </tr>
          </s:iterator>
          <abean:tablefill name="SysAccessary" property="selectBean.pager" column="6"/>
        </table>
     	<div id="showpage"><ahtml:pagination name="SysAccessary" method="list" showsize="false" property="selectBean.pager"/></div>
      </s:form>
<script type="text/javascript">
function queryAll(){
	document.getElementById('sb_isall').value=1;
	document.forms["query_form"].submit();
}
</script>
</body>
</html>
